package cn.xiangxiang.service.goods;

import cn.xiangxiang.pojo.goods.Brand;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface BrandService {

    public List<Brand> findall();

    public Page<Brand> findPage(Integer startpage,Integer pagesize);

    public List<Brand> findCondition(Brand brand);

    public Page<Brand> findConditionPage(Integer startpage,Integer pagesize,Brand brand);

    public Brand findById(Integer id);

    public void save(Brand brand);

    public void delById(Integer id);

    public void update(Brand brand);
}
